<%--
  Created by IntelliJ IDEA.
  User: pc
  Date: 2024/6/28
  Time: 16:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>记者登录页面</title>
</head>
<body>
    <br/><br/>
    <form name="loginForm" action="${pageContext.request.contextPath}/login" method="post">
        <table width="400" border="1" align="center" bordercolor="#f00">
            <tr><th colspan="2" align="center">新闻发布系统后台管理</th></tr>
            <tr>
                <td align="center" width="30%">账号：</td>
                <td width="70%"><input type="text" name="uname"></td>
            </tr>
            <tr>
                <td align="center" width="30%">密码：</td>
                <td width="70%"><input type="password" name="upsw"></td>
            </tr>
            <c:if test="${msg}!= null">
                <tr><td colspan="2" align="center"><font color="red">${msg}</font></td></tr>
            </c:if>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" name="submit1" value="确定">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
